import request from '../utils/request';

//验证手机号码是否存在
export function exitPhone (param){
    return request({
        method: 'post',
        url: '/emp/phone?phone='+param
    });
}

//获取用户资源
export function resourceData (param) {
    return request({
        method: 'post',
        url: '/emp/empResource?ids='+param,
    });
};

//获取验证码
export function getValidationCode (phone) {
    return request({
        method: 'post',
        url: '/emp/getValidationCode/'+phone,
    });
};

export function checkValidationCode (param) {
    return request({
        method: 'post',
        url: '/emp/checkValidationCode?code='+param,
    });
};